package com.pk.android.dummy;

import java.util.ArrayList;
import java.util.List;

import com.pk.android.model.League;
import com.pk.android.model.Player;
import com.pk.android.model.Team;

public class temp_source {
	public static List<League> getMyLeagueList()
	{
		List<League> leagueList = new ArrayList<League>();
		
		//## League 1 ##//
		League l1 = new League("League 1");
		
		ArrayList<Team> teams1 = new ArrayList<Team>();
		teams1.add(new Team("team 1-1"));
		teams1.add(new Team("team 1-2"));
		//teams1.add(new Team("team 1-3"));
		//teams1.add(new Team("team 1-4"));
		//teams1.add(new Team("team 1-5"));
		//teams1.add(new Team("team 1-6"));
		//teams1.add(new Team("team 1-7"));
		//teams1.add(new Team("team 1-8"));
		//teams1.add(new Team("team 1-9"));
		l1.setTeams(teams1);
		
		leagueList.add(l1);
		
		//## League 2 ##//
		League l2 = new League("League 2");
		
		ArrayList<Team> teams2 = new ArrayList<Team>();
		teams2.add(new Team("team 2-1"));
		teams2.add(new Team("team 2-2"));
		teams2.add(new Team("team 2-3"));
//		teams2.add(new Team("team 2-4"));
//		teams2.add(new Team("team 2-5"));
//		teams2.add(new Team("team 2-1"));
//		teams2.add(new Team("team 2-2"));
//		teams2.add(new Team("team 2-3"));
//		teams2.add(new Team("team 2-4"));
//		teams2.add(new Team("team 2-5"));
//		teams2.add(new Team("team 2-1"));
//		teams2.add(new Team("team 2-2"));
//		teams2.add(new Team("team 2-3"));
//		teams2.add(new Team("team 2-4"));
//		teams2.add(new Team("team 2-5"));
//		teams2.add(new Team("team 2-1"));
//		teams2.add(new Team("team 2-2"));
//		teams2.add(new Team("team 2-3"));
//		teams2.add(new Team("team 2-4"));
//		teams2.add(new Team("team 2-5"));
		l2.setTeams(teams2);
		
		leagueList.add(l2);

		//## League 3 ##//
		League l3 = new League("League 3");
		
		ArrayList<Team> teams3 = new ArrayList<Team>();
		teams3.add(new Team("team 3-1"));
		teams3.add(new Team("team 3-2"));

		l3.setTeams(teams3);
		
		leagueList.add(l3);

		//## League 4 ##//
		League l4 = new League("League 4");
		
		ArrayList<Team> teams4 = new ArrayList<Team>();
		teams4.add(new Team("team 4-1"));

		l4.setTeams(teams4);
		
		leagueList.add(l4);
		
		//## League 4 ##//
		League l5 = new League("League 5");
		
		ArrayList<Team> teams5 = new ArrayList<Team>();
		teams5.add(new Team("team 5-1"));

		l5.setTeams(teams5);
		
		leagueList.add(l5);
		
		return leagueList;
	}
	
	public static List<Team> getMyTeamList()
	{
		ArrayList<Team> teamList = new ArrayList<Team>();
		
		Team t1 = new Team("xyz");
		t1.setPoints(45);
		teamList.add(t1);
	
		Team t2 = new Team("APOEL");
		t2.setPoints(38);
		teamList.add(t2);
		
		Team t3 = new Team("kkk");
		t3.setPoints(24);
		teamList.add(t3);
		
		Team t4 = new Team("zzz");
		t4.setPoints(20);
		teamList.add(t4);
		
		return teamList;
	}
	
	public static List<Player> getMyPlayerList()
	{
		return temp_players.getAllPlayers();
	}
}
